﻿namespace SARS.Entity.Factory
{
    public static class GroupFactory
    {
        public static GroupEntity CreateGroup()
        {
            var group = new GroupEntity();
            return group;
        }

        public static GroupEntity CreateGroup(string name, int courseId)
        {
            var group = new GroupEntity();
            group.GroupName = name;
            group.CourseID = courseId;
            return group;
        }
    }
}